import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//=======引入阿里图标库开始
import '@/assets/icon/iconfont.css'
//=======引入阿里图标库结束

//=======引入element-ui开始
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
//=======引入element-ui结束

//=======引入axios开始
import axiosUtils from "@/utils/axiosUtils";

Vue.prototype.$get = axiosUtils.get;
Vue.prototype.$post = axiosUtils.post;
Vue.prototype.$put = axiosUtils.put;
Vue.prototype.$del = axiosUtils.delete;
Vue.prototype.$axios = axiosUtils.axios;
//=======引入axios结束

//=======引入storage工具类开始
import Storage from "@/utils/storageUtils";

Vue.prototype.Storage = Storage;
//=======引入storage工具类结束

//=======引入api接口工具类开始
import APIUtils from "@/utils/APIUtils";

Vue.prototype.$api = APIUtils;
//=======引入api接口工具类结束


//=======引入swal提示框开始
import swal from 'sweetalert';

Vue.prototype.$swal = swal;
//=======引入swal提示框结束

//=======引入markdown编辑器插件开始
import mavonEditor from 'mavon-editor';
import 'mavon-editor/dist/css/index.css';

Vue.use(mavonEditor);
//=======引入markdown编辑器插件结束

//=======引入代码高亮插件开始
import Prism from "prismjs";

import ('@/assets/prism/prism.css');
//=======引入代码高亮插件结束


//=======引入自定义全局css开始
import '@/assets/global.css';
//=======引入自定义全局css结束

//=======引入自定义工具类MinUtils开始
import * as Mine from '@/utils/MineUtils';

Vue.prototype.$Mine = Mine;
//=======引入自定义工具类MinUtils结束


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
